package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {
    //批量添加
    void addList(@Param("list") List<NursingProjectPlan> projectPlanList);

    // 批量删除
    void removeList(List<Long> ids);

    //删除
    @Delete("delete from nursing_project_plan where id = #{id}")
    void deleteByNursingPlanId(@Param("id") Long id);
}
